package com.vm.entity;

import java.sql.Timestamp;


/**
 * MessageReply entity. @author MyEclipse Persistence Tools
 */

public class MessageReply  implements java.io.Serializable {


    // Fields    

     private Integer lhId;
     private MessageBoard messageBoard;
     private Integer userId;
     private String userName;
	 private Timestamp lhSj;
     private String lhLr;


    // Constructors

    /** default constructor */
    public MessageReply() {
    }

    
    /** full constructor */
    public MessageReply(MessageBoard messageBoard, Integer userId,String userName, Timestamp lhSj, String lhLr) {
        this.messageBoard = messageBoard;
       this.userId = userId;
       this.userName = userName;
        this.lhSj = lhSj;
        this.lhLr = lhLr;
    }

    public Integer getUserId() {
		return userId;
	}


	public void setUserId(Integer userId) {
		this.userId = userId;
	}


	public String getUserName() {
		return userName;
	}


	public void setUserName(String userName) {
		this.userName = userName;
	}
    // Property accessors

    public Integer getLhId() {
        return this.lhId;
    }
    
    public void setLhId(Integer lhId) {
        this.lhId = lhId;
    }



    public MessageBoard getMessageBoard() {
		return messageBoard;
	}


	public void setMessageBoard(MessageBoard messageBoard) {
		this.messageBoard = messageBoard;
	}

	public Timestamp getLhSj() {
        return this.lhSj;
    }
    
    public void setLhSj(Timestamp lhSj) {
        this.lhSj = lhSj;
    }

    public String getLhLr() {
        return this.lhLr;
    }
    
    public void setLhLr(String lhLr) {
        this.lhLr = lhLr;
    }
   








}